$(function(){
    
    var ajaxFill = new Z.AjaxFill({
        url: Z.url('/jobs/records',true),
        templates: {
            list: $('#list-template'),
            none: '<tr><tdstyle="text-align:center;">暂无数据</td></tr>',
            methods : {
                nl2br : function(s){
                    return s.replace(/\n/g,'<br/>');
                }
            }
        },
        data : {
            pageSize : 10,
            page     : 1
        },
        containers:{
            list: $('table.job-show tbody'),
            pageLinks: $('table.job-show tfoot td')
        }
    });
    
    ajaxFill.request();
});